﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AimGameEngine.NodeTemples;

namespace AimGameEngine.NodeTemples
{
    public class NodeTempleList
    {
        public Dictionary<String, NodeTemple> ListNode;
        public ImageList imagelist;

        public NodeTempleList()
        {
            imagelist = new ImageList();
            //this.BuildButton.Image = global::AimGameEngine.Properties.Resources.building_go;
            imagelist.Images.Add(global::AimGameEngine.Properties.Resources.folder);
            imagelist.Images.Add(global::AimGameEngine.Properties.Resources.iconbasicMario);
            imagelist.Images.Add(global::AimGameEngine.Properties.Resources.iconbox);

            ListNode = new Dictionary<string, NodeTemple>();
            //EditorSetting.Default["Detail_Character"]
            ListNode.Add(NodeTypeTemple.Charater.ToString(), new NodeTemple(NodeTypeTemple.Charater.ToString(), 0, 0, NodeTypeTemple.Charater, 0, EditorSetting.Default.Detail_Character));
            ListNode.Add(NodeTypeTemple.GameObject.ToString(), new NodeTemple(NodeTypeTemple.GameObject.ToString(), 0, 0, NodeTypeTemple.GameObject, 0,""));
            ListNode.Add(NodeTypeTemple.CharaterWithTempleImage.ToString(), new NodeTemple(NodeTypeTemple.CharaterWithTempleImage.ToString(), 0, 0, NodeTypeTemple.CharaterWithTempleImage, 1, ""));
            ListNode.Add(NodeTypeTemple.GameObjectWithTempleImage.ToString(), new NodeTemple(NodeTypeTemple.GameObjectWithTempleImage.ToString(), 0, 0, NodeTypeTemple.GameObjectWithTempleImage, 2, ""));
        }
    }
}
